#define _CRT_SECURE_NO_WARNINGS
#include"BTree.h"





int main()
{
	BTDataType a[] = "ABD##E#H##CF##G##";
	int i = 0;
	BTNode* root = BinaryTreeCreate(a, &i);
	int n = 0;
	printf("%d\n", BinaryTreeSize(root, &n));
	printf("%d\n", BinaryTreeLeafSize(root));
	printf("%d\n", BinaryTreeLevelKSize(root, 3));
	BTNode* ret = BinaryTreeFind(root, 'A');
	BinaryTreePrevOrder(root);

	BinaryTreeDestory(root);
	return 0;
}